projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00421bf
)
(make-frame-command): Doc fix. Use display-graphic-p.
author
Chong Yidong
<cyd@stupidchicken.com>
Wed, 22 Oct 2008 21:09:48 +0000
(21:09 +0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Wed, 22 Oct 2008 21:09:48 +0000
(21:09 +0000)
lisp/frame.el
patch
|
blob
|
history
diff --git
a/lisp/frame.el
b/lisp/frame.el
index d870d7419bb21ec28d880810fe6f624444db5ad7..ae0803d6a8db7d906d74f9a96c9fbba9360f49bc 100644
(file)
--- a/
lisp/frame.el
+++ b/
lisp/frame.el
@@
-674,9
+674,11
@@
If DISPLAY is nil, that stands for the selected frame's display."
(x-close-connection display))))
(defun make-frame-command ()
- "Make a new frame, and select it if the terminal displays only one frame."
+ "Make a new frame, on the same terminal as the selected frame.
+If the terminal is a text-only terminal, this also selects the
+new frame."
(interactive)
- (if (
and window-system (not (eq window-system 'pc))
)
+ (if (
display-graphic-p
)
(make-frame)
(select-frame (make-frame))))